home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP Restored Connections.xpl < prev    next >
Text File  |  2002-01-13  |  1KB  |  46 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Startup/Shutdown\Startup\Windows NT/2K/XP\60) Windows Launch"
  5. "NAME"="Mapped Drives Errors"
  6. "VERSION"="1.00"
  7. "OSVERSION"="0000011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Show mapped drives errors on startup"
  10. "DESCRIPTION 1"="By default, Windows will display an error message if you have mapped a network drive and the computer is not available when you login."
  11. "DESCRIPTION 2"="By deactivating this option, this error will no longer appear."
  12. "DESCRIPTION 3"=""
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com/"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17.  
  18.  
  19. sV="HKEY_CURRENT_USER\Network\RestoreDiskChecked" 'DW
  20.  
  21. Sub Plugin_Initialize 
  22.  i=RegReadValue(sV)
  23.  if IsEmpty(i)=true or i=1 then 
  24.     SetUIElement 1,true
  25.  end if
  26. End Sub
  27.  
  28.  
  29. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  30.  b=GetUIElement(1)
  31.  if b=true then
  32.     If RegValueExists(sV) then RegDeleteValue(sV)
  33.  else
  34.     Call RegWriteValue(sV,0,2)
  35.  end if
  36.  
  37.  Call Logoff()
  38. End Sub
  39.  
  40.  
  41. Sub Plugin_Terminate 
  42. End Sub
  43.  
  44.  
  45.  
  46.